package com.ftg.learn.common.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "用户列表功能传递的数据模型")
public class UserPageQueryDTO {

    //当前页码
    @Schema(description = "当前页码")
    private int pageNum;
    //每页显示条数
    @Schema(description = "每页显示条数")
    private int pageSize;
    //根据用户名查询
    @Schema(description = "根据用户名查询")
    private String username;
    //根据部门查询
    @Schema(description = "根据部门查询")
    private Long deptId;
    //根据地址查询
    @Schema(description = "根据地址查询")
    private String address;
    //根据角色查询
    @Schema(description = "根据角色查询")
    private Long roleId;

}

